﻿using Org.BouncyCastle.Asn1.Tsp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LocalNas.Application.Service.Wankeyun.Dto;
public class UrlResolveResult
{
    public string infohash { get; set; }
    public TaskInfo taskInfo { get; set; }
    public int rtn { get; set; }
    public class TaskInfo
    {
        public string size { get; set; }
        public string path { get; set; }
        public string url { get; set; }
        public string name { get; set; }
        public IList<SubList> subList { get; set; }
        public int type { get; set; }
        public class SubList
        {
            public int selected { get; set; }
            public string size { get; set; }
            public string name { get; set; }
            public string id { get; set; }
        }

    }

    // {"infohash":"8C3FC38A510277CE3EAAB8CB2A1E7CCFC7C2BBEB","taskInfo":{"size":"5220884155","path":"","url":"magnet:?xt=urn:btih:8C3FC38A510277CE3EAAB8CB2A1E7CCFC7C2BBEB","name":"CAWD-365","subList":[{"selected":0,"size":"533890","name":"CAWD-365\/Betway(必威) (1).gif","id":"0"},{"selected":0,"size":"418863","name":"CAWD-365\/Betway(必威) (2).gif","id":"2"},{ "selected":0,"size":"431400","name":"CAWD-365\/Betway(必威) (3).gif","id":"4"},{ "selected":0,"size":"65298","name":"CAWD-365\/Betway(必威).bmp","id":"6"},{ "selected":0,"size":"27","name":"CAWD-365\/Betway(必威)官最新优惠.txt","id":"8"},{ "selected":0,"size":"5912","name":"CAWD-365\/Betway(必威)官网.png","id":"10"},{ "selected":0,"size":"27","name":"CAWD-365\/Betway(必威)官网.txt","id":"12"},{ "selected":0,"size":"127","name":"CAWD-365\/Betway(必威)官网.url","id":"14"},{ "selected":0,"size":"6000","name":"CAWD-365\/Betway(必威)最新优惠.jpg","id":"16"},{ "selected":0,"size":"127","name":"CAWD-365\/Betway(必威)最新优惠.url","id":"18"},{ "selected":0,"size":"5216440030","name":"CAWD-365\/CAWD-365.mp4","id":"20"},{ "selected":0,"size":"2982454","name":"CAWD-365\/【清单】.bmp","id":"22"}],"type":2},"rtn":0}

}
